package com.qiaoda.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@SuppressWarnings("serial")
public class FenJLBean implements Serializable,Comparable{
	private String id;
	private String name;
	private String job;
	private int age;
	private String area;
	private String degree;
	private String realName;
	private String workYear;
	private String updateDate;
	private String sex;
	private String salary;
	private String avatar;
	private String fileName;
	private String templateID;
	private ResumeItemDescription description;
	private Map<String,Object> education;
	private Map<String,Object> jobIntension;
	private Map<String,Object> work;
	@SuppressWarnings("rawtypes")
	private List<Map> selfIntroduction;
	private String originalFilePath;
	private String company;
	
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	
	public String getTemplateID() {
		return templateID;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public void setTemplateID(String templateID) {
		this.templateID = templateID;
	}
	public String getOriginalFilePath() {		return originalFilePath;	}
	public void setOriginalFilePath(String originalFilePath) {
		this.originalFilePath = originalFilePath;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	
	public String getDegree() {
		return degree;
	}
	public void setDegree(String degree) {
		this.degree = degree;
	}
	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getWorkYear() {
		return workYear;
	}
	public void setWorkYear(String workYear) {
		this.workYear = workYear;
	}
	
	public String getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(String updateDate) {
		this.updateDate = updateDate;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getSalary() {
		return salary;
	}
	public void setSalary(String salary) {
		this.salary = salary;
	}
	public String getAvatar() {
		return avatar;
	}
	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	
	
	public ResumeItemDescription getDescription() {
		return description;
	}
	public void setDescription(ResumeItemDescription description) {
		this.description = description;
	}
	public Map<String, Object> getEducation() {
		return education;
	}
	public void setEducation(Map<String, Object> education) {
		this.education = education;
	}
	public Map<String, Object> getJobIntension() {
		return jobIntension;
	}
	public void setJobIntension(Map<String, Object> jobIntension) {
		this.jobIntension = jobIntension;
	}
	public Map<String, Object> getWork() {
		return work;
	}
	public void setWork(Map<String, Object> work) {
		this.work = work;
	}
//	@SuppressWarnings("rawtypes")
	public List<Map> getSelfIntroduction() {
		return selfIntroduction;
	}
	@SuppressWarnings("rawtypes")
	public void setSelfIntroduction(List<Map> selfIntroduction) {
		this.selfIntroduction = selfIntroduction;
	}
	@Override
	public String toString() {
		return "FenJLBean [id=" + id + ", name=" + name + ", job=" + job
				+ ", age=" + age + ", area=" + area + ", degree=" + degree
				+ ", realName=" + realName + ", workYear=" + workYear
				+ ", updateDate=" + updateDate + ", sex=" + sex + ", salary="
				+ salary + ", avatar=" + avatar + ", description="
				+ description + ", education=" + education + ", jobIntension="
				+ jobIntension + ", work=" + work + ", selfIntroduction="
				+ selfIntroduction + "]";
	}
//	public String toString() {
//		return "FenJLBean [id=" + id + ", name=" + name + ", job=" + job
//				+ ", age=" + age + ", area=" + area + ", degree=" + degree
//				+ "]";
//	}

	public int compareTo(Object o) {
		FenJLBean f = (FenJLBean)o;
		return this.updateDate.compareTo(f.getUpdateDate());
	}
	
	
	}
